<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/common/backcommon.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Breaking Fast</title>
	</head>
	<body>
		<div class="cms_right">
		  	<div class="cms_title">
		    	<span>订单管理：详情</span>
		    </div>
		    <div class="cms_search">
				<table width="1000" border="0" class="search_bd">
		          	<tr>
			            <td class="yh_name">收货人：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02"value="${order.username}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">送餐日期：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.servicedateStr}" readonly/></td>
			            <td class="tishi"></td>
			            <td class="yh_name">送餐时间：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.servicetimeStr}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">价格：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.totalprice}" readonly/></td>
			            <td class="tishi"></td>
			            <td class="yh_name">优先联系：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.contactStr}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">订餐人：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02"value="${null != order.customer ? order.customer.username : ''}" readonly/></td>
			            <td class="tishi"></td>
			            <td class="yh_name">下单时间：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.createdateStr}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">电话</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.phone}" readonly/></td>
			            <td class="tishi"></td>
			            <td class="yh_name">email</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${order.email}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">状态：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${0 == order.status? '未处理' : '已处理'}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">送餐地址：</td>
			            <td class="yh_bd" colspan="5"><input type="text" class="cms_text02" style="width: 500px" value="${order.site}" readonly/></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">配送备注：</td>
			            <td class="yh_bd" colspan="5"><input type="text" class="cms_text02" style="width: 500px" value="${order.deliveryremark}" readonly/></td>
		          	</tr>
		          	<tr>
			            <td>&nbsp;</td>
			            <td></td>
			            <td align="center"><input type="button" class="search_btn" onclick="location.href='${base}/background/order/orderlist.jsp'" value="返回" /></td>
			            <td></td>
			            <td>&nbsp;</td>
			            <td>&nbsp;</td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>
	